Auto merge of #2113 - alexcrichton:weird-filenames, r=brson
authorbors <bors@rust-lang.org>
Wed, 4 Nov 2015 21:48:15 +0000 (21:48 +0000)
committerbors <bors@rust-lang.org>
Wed, 4 Nov 2015 21:48:15 +0000 (21:48 +0000)
commiteecb9009955437b8a4e89694d58a0e9faee8a892
tree8c93f1049518933e9d0360e4e88e3ae931ac87df
parent3767ad20dbc8d288592f71cabae7350e24272068
parentafe837d7e619a4590399be681fe8d32d36c68da2
Auto merge of #2113 - alexcrichton:weird-filenames, r=brson

This commit is targeted at fixing #2102 via two routes:

1. The dependency on `tar` was upgraded to include more contextual information
   in error messages about why the unpack failed. This should help diagnose
   these sorts of issues that happen in the first place.
2. Packaging crates that have files with odd filenames is no longer allowed.
   An error is returned indicating that the files cannot be packaged as they're
   not cross platform. The currently rejected set of files are non-utf8
   filenames (already present) and those containing characters special on
   Windows.

Closes #2102